package cn.itcast.core.service;

import cn.itcast.core.pojo.Dept;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/5/12
 */
@Component
public class abc implements  DeptClientService {
    @Override
    public List<Dept> list() {
        return null;
    }

    @Override
    public Dept get(Long id) {
        return new Dept().setDname("服务熔断启动了。。。abc");
    }

    @Override
    public boolean add(Dept dept) {
        return false;
    }
}
